package com.woniu.util;

/**
 * 用于消息队列状态
 */
public enum MessageStatus {
    UNSUCESS(100,"未发送"),
    SUCESS(200,"已发送"),
    ROUTE_ERROR(300,"路由错误");

    private int code;
    private String status;

    MessageStatus(int code, String status) {
        this.code = code;
        this.status = status;
    }

    public int getCode() {
        return code;
    }

    public String getStatus() {
        return status;
    }
}
